package com.example.administrator.mybabymall.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/11/11 0011.
 * title
 */

public class Tab implements Serializable{
    private  int title;
    private  int icon;
    private  Class fragment;

    public Tab(int title, int icon, Class fragment) {
        this.title = title;
        this.icon = icon;
        this.fragment = fragment;
    }

    public int getTitle() {
        return title;
    }

    public void setTitle(int title) {
        this.title = title;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public Class getFragment() {
        return fragment;
    }

    public void setFragment(Class fragment) {
        this.fragment = fragment;
    }

    @Override
    public String toString() {
        return "Tab{" +
                "title=" + title +
                ", icon=" + icon +
                ", fragment=" + fragment +
                '}';
    }
}
